package org.ihelpuoo.weboo.exception;

import org.ihelpuoo.weboo.bean.ActionBean;
import org.ihelpuoo.weboo.bean.ParamBean;

public class InvalidDataException extends Exception
{
	private static final long	serialVersionUID	= 7861214697855776770L;
	private ActionBean			action;
	private ParamBean		param;
	private String				messageKey;

	public InvalidDataException(ActionBean action, ParamBean param, String messageKey)
	{
		this.action = action;
		this.param = param;
		this.messageKey = messageKey;
	}

	ActionBean getAction()
	{
		return action;
	}

	String getMessageKey()
	{
		return messageKey;
	}

	ParamBean getParam()
	{
		return param;
	}

}
